package edu.gdkm;
public class User1 {
    private int id;
    private String name;
    private String password;
    //有参构造方法
    public User1(int id, String name, String password){
        this.id=id;
        this.name=name;
        this.password=password;
    }

    @Override
    public String toString() {
        return "User1{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}